package com.chalk.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ProjectName: mall-parent
 * @Package: com.chalk.model
 * @ClassName: Seller
 * @Author: haha  86130
 * @Description:
 * @Date: 2021/9/22 14:19
 * @Version: 1.0
 */
@ApiModel(value = "Seller", description = "商家表")
@Data
@TableName("t_seller")
public class Seller {

    /**
     * 用户id
     */
    @ApiModelProperty(name = "id", value = "商家id")
    @TableId(type = IdType.ID_WORKER_STR)
    private String id;


    /**
     * 是否可用(1：是、0：否)
     */
    @ApiModelProperty(name = "runningStatus", value = "是否可用(1：是、0：否)")
    @TableField("running_status")
    private Integer runningStatus;

}
